<script>
import dataApi from '@/view/data-api-edit'
import ImgList from '@/view/SetControlItem/ImgList'
import LabelText from '../comm/LabelText'
export default {
  render () {
    let itemData = dataApi.currActiveItem
    return (
      <div>
        <div class="set-item">
          <LabelText
            type="number" min="0"
            value={itemData.timerInterval / 1000}
            onInputValue={v => { itemData.timerInterval = v * 1000 }}>间隔时间
          </LabelText><span class={this.$style.s}>秒</span>
          <div class="it">
          </div>
        </div>
        <ImgList maxCount={10} />
      </div>
    )
  }
}
</script>

<style module>
.s {
  color: #666;
}
</style>
